package com.hh.releasenode.utils;


import org.apache.shiro.crypto.hash.Sha256Hash;

/**
 * @ClassName EncryptionUtils
 * @Description 加密工具类
 * @Author KunxianLi
 * Date 2020/6/12 17:47
 * Version 1.0
 **/
public class EncryptionUtils {

    /**
     *
     **/
    public static String getSha256Hash(String source,String salt){
        return new Sha256Hash(source,salt).toHex();

    }
}
